Cross referencing

In the Source Editor, make sure that entry

REPORT_STATE of task MAITRE_D is selected in either the Symbol List or in the Text View. (Remember that as tasks are mapped to packages and entries to package subprograms, it can be found under the pkg subprog def in the Symbol Browser's Symbol Type drop-down). Then, choose Info > REPORT_STATE Refers-To.
The Cross Referencer appears. Entry REPORT_STATE is shown in it with all the symbols it refers to (19 nodes). See also Abbreviations used in Cross Referencer.

- Limit the scope of the next query to packages. Press the Filters... button. Press the None button under Types and then select the package (pk) checkbox.

- Now select ps MAITRE_D::REPORT_STATE in the Cross Referencer's Graph view and press the Refers-To button in the Filter dialog.
  You should now see a call tree similar to the following:

- Find package WINDOWS in the referenced symbols list.
  Number 3 in brackets following the name means that there are 3 references in this entry to package
WINDOWS .
Click on pk WINDOWS to highlight it. Choose Context menu > Show Reference. The Source Editor highlights the first reference of package WINDOWS : it is an implicit reference through its subprogram TITLE .
In the Source Editor choose Show > Next Match to jump the position of the next reference.
Switch back to the Cross Referencer. Let's see what subprograms (both global and package) package WINDOWS is referred to by. The Filter dialog should still be open. Press the None button and then select the subprog (s) and pkg subprog (ps) checkoxes. Press the Referred-By button.

There are 10 subprograms that refer to

WINDOWS . One of them, MAITRE_D::REPORT_STATE is in italic. This means that this reference is already displayed in the Cross Referencer.
Close the Cross Referencer, the Symbol Browser and Source Editor tools.